<div class="box-tools" style="top:10px;">
  <form class="form-inline" id="project—form" action="{:url('Money/companyList')}" method="GET" pjax-search="">
    <div class="form-group">
      <label for="end_time">截止时间</label>
      <input type="text" name="end_time" id="end_time" autocomplete="off" class="form-control timepicker"
             value="{:input('get.end_time')}"
             placeholder="请输入截止时间"/>
    </div>
    <div class="form-group">
      <button type="submit" class="btn btn-primary">搜索</button>
    </div>
  </form>
</div>
<script>
    $(function () {
        $('.timepicker').datetimepicker({
            format: 'YYYY-MM-DD',   //YYYY-MM-DD
            locale: moment.locale('zh-cn'),
            defaultDate: new Date()
        });
    })

</script>